package com.evil.common.oss.config;

import com.evil.common.oss.props.AliyunOssProperty;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author liyang
 */
@Configuration
@EnableConfigurationProperties(AliyunOssProperty.class)
@ConditionalOnProperty(prefix = "oss.aliyun", value ="enabled", havingValue = "true")
public class AliyunOssConfiguration {
}
